package com.spzx.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spzx.product.domain.ProductSpec;

import java.util.List;

/**
 * projectName: spzx-parent
 *
 * @author: 比丢比丢
 * time: 2024/7/5 11:52 周五
 * description:
 */
public interface ProductSpecMapper extends BaseMapper<ProductSpec> {


    //分页查询商品规格，数据里面包含商品规格所属分类名称
    List<ProductSpec> selectProductSpecList(ProductSpec productSpec);


    //根据分类id获取商品规格列表
    List<ProductSpec> selectProductSpecListByCategoryId(Long categoryId);
}
